package net.lanelife.casino.caipiao.entity.statistics;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import net.lanelife.casino.caipiao.entity.User;
import net.lanelife.casino.caipiao.entity.statistics.support.BaseUserDailyStatistics;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.joda.time.LocalDate;

/**
 * 团队日结表
 * @author Lane
 *
 */
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "TB_TEAM_DAILY_STATISTICS", indexes = {
		@Index(columnList = "USER_ID, USER_NAME, REPORT_DATE", unique = true)
})
public class TeamDailyStatistics extends BaseUserDailyStatistics<Integer> {

	private static final long serialVersionUID = -4409497038843317676L;

	public TeamDailyStatistics() {}

	public TeamDailyStatistics(User user, LocalDate reportDate) {
		super(user, reportDate);
	}

}
